package com.outdoor.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Event {
    //待发布
    public static final Integer STATUS_DRAFT = 0;
    //报名中
    public static final Integer STATUS_NORMAL = 1;
    //报名结束
    public static final Integer STATUS_DELETED = 2;
    //已满员
    public static final Integer STATUS_FULL = 3;
    //活动结束
    public static final Integer STATUS_END = 4;
    //已取消
    public static final Integer STATUS_CANCEL = 5;


    private Long id;
    //发布人id
    private Long uid;
    //标题
    private String title;
    //描述
    private String description;
    //封面图
    private String cover;
    //集合地点
    private String location;
    //集合点纬度
    private Double latitude;
    //集合点经度
    private Double longitude;
    //报名开始时间
    private LocalDateTime signupStart;
    //报名结束时间
    private LocalDateTime signupEnd;
    //活动开始时间
    private LocalDateTime startTime;
    //活动结束时间
    private LocalDateTime endTime;
    //活动状态
    private Integer status;
    //主办方
    private String createdBy;
    //联系方式
    private String phone;
    //价格
    private String price;
    //最大人数
    private Integer maxMember;

}
